package com.example.chamberlainserver.Service;

import com.example.chamberlainserver.Vo.Request.User.LoginVo;
import com.example.chamberlainserver.Vo.Request.User.PhoneLoginVo;
import com.example.chamberlainserver.Vo.Request.User.RegisterVo;
import com.example.chamberlainserver.Vo.Request.User.SmsCodeRequestVo;
import com.example.chamberlainserver.Vo.Response.ApiResponse;
import com.example.chamberlainserver.Vo.Response.JwtResponse;

public interface AuthService {

    /**
     * 登录的服务接口
     *
     * @param loginRequest 登录请求
     * @return JWT响应对象
     */
    JwtResponse login(LoginVo loginRequest);
    
    /**
     * 注册的服务接口
     * @param registerRequest 注册请求
     * @return 注册结果信息
     */
    String register(RegisterVo registerRequest);
    String sendSmsCode(SmsCodeRequestVo smsCodeRequest);
    JwtResponse loginByPhone(PhoneLoginVo phoneLoginRequest);
}
